object FormMain: TFormMain
  Left = 0
  Top = 0
  Caption = 'SNES GSS'
  ClientHeight = 717
  ClientWidth = 982
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -13
  Font.Name = 'Tahoma'
  Font.Style = []
  Icon.Data = {
    0000010001002020000001000800A80800001600000028000000200000004000
    0000010008000000000000000000000000000000000000000000000000004545
    4500585858004C49FD00707070000095A200919191005AB555008E8CFE00ECB8
    5E00C2C2C2009DD39900F4D7A2004DF1FF00FEFEFE00FFFFFF00000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000F0F
    0F0F0F0F0F0F0F0F0D0D0D0D0D0D0D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0D0D00000000000D0D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0D0900000000000000090D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0D0D0100040C0C0C0400000D0D0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0D0301040C0C0C0C0C0400000D0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0D03030C0C0C0C0C0C0C00000D0F0F0F0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0D05030C0C0C0C0C0C0C00000D0F0F0D0D0D0D0D0D0D0F0F0F0F0F
    0F0F0F0F0F0D05050C0C0C0C0C0C0C00010D0F0D0D07020202070D0D0F0F0F0F
    0F0F0F0F0F0D0505040C0C0C0C0C0401010D0D0D020202020202020D0D0F0F0F
    0F0F0F0F0F0D0D0505040C0C0C040101010D0D0202020202020202020D0D0F0F
    0F0F0F0F0F0F0D090303030000010101030D07020202020202020202070D0F0F
    0F0F0F0F0F0F0F0D0D03000000010903030D02020202020202020202020D0F0F
    0F0F0D0D0D0D0D0D0D0D0D0D0D0D0E03030D02020202020202020202020D0F0F
    0F0D0D0A0606060A0D0D0F0F0F0F0E03050D02020202020202020202020D0F0F
    0D0D060606060606060D0D0F0F0F0E05050D07020202020202020202070D0F0D
    0D0606060606060606060E0E0F0F0E05050D0D0202020202020202020D0D0F0D
    0A0606060606060606060A0E0F0F0E05050D0D0D020202020202020D0D0F0F0D
    06060606060606060606060E0F0F0D05050D0F0D0D07020202070D0D0F0F0F0D
    06060606060606060606060E0F0F0D05050D0D0D0D0D0D0D0D0D0D0F0F0F0F0D
    06060606060606060606060E0F0E0D05030D080B0D0D0F0F0F0F0F0F0F0F0F0D
    0A0606060606060606060A0E0E0E0D03030D0D0D0D0D0D0F0F0F0F0F0F0F0F0D
    0D0606060606060606060E0E0E080D03010D09000D080D0D0F0F0F0F0F0F0F0F
    0D0D060606060606060E0E0E0B080D01010100000D080B0D0F0F0F0F0F0F0F0F
    0F0D0D0A0606060A0D0E0F0E08080D010100000D0D08080D0F0F0F0F0F0F0F0F
    0F0F0D0D0D0D0D0D0D0F0F0E08080D0100000D0D0808080D0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0D08080D00000D0D080808080D0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0D0B080D0D0D0D080808080B0D0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0D0D0808080808080808080D0D0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0F0D0D080808080808080D0D0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0F0F0D0D0B0808080B0D0D0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0F0F0F0D0D0D0D0D0D0D0F0F0F0F0F0F0F0F0F0F0F
    0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0FFFC0
    7FFFFF803FFFFF001FFFFE000FFFFE000FFFFE000FFFFE000C07FE000803FE00
    0001FE000000FF000000FF800000F0000000E00F0000C0070000800300008003
    00018003080380030007800200FF8000007F8000003FC000003FE008003FF018
    003FFFF8003FFFF8003FFFF8003FFFFC007FFFFE00FFFFFF01FFFFFFFFFF}
  Menu = MainMenu
  OldCreateOrder = False
  Position = poDesktopCenter
  Scaled = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 16
  object PageControlMode: TPageControl
    Left = 0
    Top = 0
    Width = 982
    Height = 717
    ActivePage = TabSheetSong
    Align = alClient
    TabOrder = 0
    TabStop = False
    object TabSheetSong: TTabSheet
      Caption = 'Song [F1]'
      object PaintBoxSong: TPaintBox
        Left = 0
        Top = 0
        Width = 974
        Height = 686
        Align = alClient
        OnDblClick = PaintBoxSongDblClick
        OnMouseDown = PaintBoxSongMouseDown
        OnMouseMove = PaintBoxSongMouseMove
        OnMouseUp = PaintBoxSongMouseUp
        OnPaint = PaintBoxSongPaint
        ExplicitLeft = 40
        ExplicitTop = 48
        ExplicitWidth = 825
        ExplicitHeight = 473
      end
    end
    object TabSheetSongList: TTabSheet
      Caption = 'Song list [F2]'
      ImageIndex = 3
      OnEnter = TabSheetSongListEnter
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object SpeedButtonSongUp: TSpeedButton
        Left = 359
        Top = 24
        Width = 50
        Height = 24
        Hint = 'Move current song higher in the list'
        Caption = 'Up'
        ParentShowHint = False
        ShowHint = True
        OnClick = SpeedButtonSongUpClick
      end
      object SpeedButtonSongDown: TSpeedButton
        Left = 412
        Top = 24
        Width = 50
        Height = 24
        Hint = 'Move current song lower in the list'
        Caption = 'Down'
        ParentShowHint = False
        ShowHint = True
        OnClick = SpeedButtonSongDownClick
      end
      object Label5: TLabel
        Left = 359
        Top = 104
        Width = 303
        Height = 16
        Caption = 'Click to change song, double click to change and play'
      end
      object Label6: TLabel
        Left = 359
        Top = 126
        Width = 358
        Height = 16
        Caption = 'Marking a song as sound effect includes its data into the driver'
      end
      object GroupBoxSongList: TGroupBox
        Left = 9
        Top = 3
        Width = 328
        Height = 529
        Caption = 'Song list'
        TabOrder = 0
        object EditSongName: TEdit
          Left = 9
          Top = 21
          Width = 312
          Height = 24
          MaxLength = 30
          TabOrder = 0
          Text = 'EditSongName'
          OnChange = EditSongNameChange
          OnKeyPress = EditSongNameKeyPress
        end
        object ListBoxSong: TListBox
          Left = 9
          Top = 51
          Width = 312
          Height = 470
          Style = lbOwnerDrawFixed
          ItemHeight = 16
          TabOrder = 1
          OnClick = ListBoxSongClick
          OnDblClick = ListBoxSongDblClick
          OnDrawItem = ListBoxSongDrawItem
        end
      end
      object CheckBoxEffect: TCheckBox
        Left = 359
        Top = 64
        Width = 97
        Height = 17
        Hint = 'Mark the song as a sound effect'
        TabStop = False
        Caption = 'Sound effect'
        ParentShowHint = False
        ShowHint = True
        TabOrder = 1
        OnClick = CheckBoxEffectClick
      end
    end
    object TabSheetInstruments: TTabSheet
      Caption = 'Instruments [F3]'
      ImageIndex = 1
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object SpeedButtonImportWav: TSpeedButton
        Left = 514
        Top = 258
        Width = 45
        Height = 24
        Hint = 
          'Load a wave from WAV file. The sound should sampled be at 8000, ' +
          '16000, or 32000 Hz, and tuned to B +21 cent'
        Caption = 'WAV'
        ParentShowHint = False
        ShowHint = True
        OnClick = SpeedButtonImportWavClick
      end
      object SpeedButtonInsMoveUp: TSpeedButton
        Left = 514
        Top = 289
        Width = 45
        Height = 24
        Caption = 'Up'
        OnClick = SpeedButtonInsMoveUpClick
      end
      object SpeedButtonInsMoveDown: TSpeedButton
        Left = 560
        Top = 289
        Width = 45
        Height = 24
        Caption = 'Down'
        OnClick = SpeedButtonInsMoveDownClick
      end
      object SpeedButtonInsDelete: TSpeedButton
        Left = 606
        Top = 289
        Width = 45
        Height = 24
        Caption = 'Del'
        OnClick = SpeedButtonInsDeleteClick
      end
      object SpeedButtonInsLoad: TSpeedButton
        Left = 560
        Top = 258
        Width = 45
        Height = 24
        Caption = 'Load'
        OnClick = SpeedButtonInsLoadClick
      end
      object SpeedButtonInsSave: TSpeedButton
        Left = 606
        Top = 258
        Width = 45
        Height = 24
        Caption = 'Save'
        OnClick = SpeedButtonInsSaveClick
      end
      object GroupBoxSampleInfo: TGroupBox
        Left = 8
        Top = 8
        Width = 400
        Height = 94
        Caption = 'Sample info'
        TabOrder = 0
        object LabelWavInfo: TLabel
          Left = 9
          Top = 24
          Width = 77
          Height = 16
          Caption = 'LabelWavInfo'
        end
        object LabelBRRInfo: TLabel
          Left = 9
          Top = 54
          Width = 77
          Height = 16
          Caption = 'LabelWavInfo'
        end
      end
      object GroupBoxSampleEnvelope: TGroupBox
        Left = 414
        Top = 8
        Width = 237
        Height = 165
        Caption = 'Envelope settings'
        TabOrder = 1
        object LabelAR: TLabel
          Left = 18
          Top = 33
          Width = 16
          Height = 16
          Caption = 'AR'
        end
        object LabelDR: TLabel
          Left = 18
          Top = 65
          Width = 16
          Height = 16
          Caption = 'DR'
        end
        object LabelSL: TLabel
          Left = 20
          Top = 97
          Width = 14
          Height = 16
          Caption = 'SL'
        end
        object LabelSR: TLabel
          Left = 18
          Top = 127
          Width = 16
          Height = 16
          Caption = 'SR'
        end
        object TrackBarAR: TTrackBar
          Left = 67
          Top = 30
          Width = 158
          Height = 26
          Hint = 'Attack rate, slowest to fastest'
          Max = 15
          ParentShowHint = False
          ShowHint = True
          TabOrder = 0
          OnChange = TrackBarARChange
        end
        object TrackBarDR: TTrackBar
          Left = 67
          Top = 62
          Width = 158
          Height = 26
          Hint = 'Decay rate, slowest to fastest, it decays to the Sustain Level'
          Max = 7
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          OnChange = TrackBarDRChange
        end
        object TrackBarSL: TTrackBar
          Left = 67
          Top = 94
          Width = 158
          Height = 26
          Hint = 
            'Sustain level, lowest to highest, the Decay phase ends with this' +
            ' level'
          Max = 7
          ParentShowHint = False
          ShowHint = True
          TabOrder = 2
          OnChange = TrackBarSLChange
        end
        object TrackBarSR: TTrackBar
          Left = 67
          Top = 126
          Width = 158
          Height = 28
          Hint = 
            'Sustain Rate, slowest to fastest, it is the speed with that a so' +
            'und decays to zero after reaching Sustain Level'
          Max = 31
          ParentShowHint = False
          ShowHint = True
          TabOrder = 3
          OnChange = TrackBarSRChange
        end
      end
      object GroupBoxSampleList: TGroupBox
        Left = 657
        Top = 8
        Width = 264
        Height = 529
        Caption = 'Instrument list'
        TabOrder = 2
        object EditInsName: TEdit
          Left = 9
          Top = 21
          Width = 248
          Height = 24
          MaxLength = 30
          TabOrder = 0
          Text = 'EditInsName'
          OnChange = EditInsNameChange
          OnKeyPress = EditInsNameKeyPress
        end
        object ListBoxIns: TListBox
          Left = 9
          Top = 51
          Width = 248
          Height = 470
          Style = lbOwnerDrawFixed
          ItemHeight = 16
          TabOrder = 1
          OnDblClick = ListBoxInsDblClick
          OnDrawItem = ListBoxInsDrawItem
          OnMouseDown = ListBoxInsMouseDown
        end
      end
      object GroupBoxSampleLength: TGroupBox
        Left = 8
        Top = 108
        Width = 185
        Height = 65
        Caption = 'Sample length'
        TabOrder = 3
        object LabelSize: TLabel
          Left = 15
          Top = 29
          Width = 43
          Height = 16
          Caption = 'Length:'
        end
        object SpeedButtonLengthToMax: TSpeedButton
          Left = 139
          Top = 26
          Width = 32
          Height = 24
          Hint = 'Set max possible sample length'
          Caption = 'Max'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonLengthToMaxClick
        end
        object SpeedButtonSampleLengthInc: TSpeedButton
          Left = 113
          Top = 26
          Width = 23
          Height = 12
          Caption = '+'
          OnMouseDown = SpeedButtonSampleLengthIncMouseDown
        end
        object SpeedButtonSampleLengthDec: TSpeedButton
          Left = 113
          Top = 38
          Width = 23
          Height = 12
          Caption = '-'
          OnMouseDown = SpeedButtonSampleLengthDecMouseDown
        end
        object EditLength: TEdit
          Left = 64
          Top = 26
          Width = 49
          Height = 24
          TabOrder = 0
          Text = '0'
          OnChange = EditLengthChange
          OnKeyPress = EditLengthKeyPress
        end
      end
      object GroupBoxDownsampling: TGroupBox
        Left = 199
        Top = 108
        Width = 209
        Height = 65
        Caption = 'Downsampling'
        TabOrder = 4
        object SpeedButtonDownsample1: TSpeedButton
          Left = 16
          Top = 28
          Width = 56
          Height = 22
          Hint = 'Don'#39't downsample the source wave'
          GroupIndex = 4
          Down = True
          Caption = 'None'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonDownsample1Click
        end
        object SpeedButtonDownsample2: TSpeedButton
          Tag = 1
          Left = 78
          Top = 28
          Width = 56
          Height = 22
          Hint = 'Downsample the source wave to be twice smaller'
          GroupIndex = 4
          Caption = '2x'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonDownsample1Click
        end
        object SpeedButtonDownsample4: TSpeedButton
          Tag = 2
          Left = 140
          Top = 28
          Width = 56
          Height = 22
          Hint = 'Downsample the source wave to be four times smaller'
          GroupIndex = 4
          Caption = '4x'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonDownsample1Click
        end
      end
      object GroupBoxResampling: TGroupBox
        Left = 8
        Top = 179
        Width = 281
        Height = 65
        Caption = 'Resampling method'
        TabOrder = 5
        object SpeedButtonResampleNearest: TSpeedButton
          Left = 15
          Top = 28
          Width = 56
          Height = 22
          GroupIndex = 3
          Caption = 'Nearest'
          OnClick = SpeedButtonResampleNearestClick
        end
        object SpeedButtonResampleLinear: TSpeedButton
          Tag = 1
          Left = 72
          Top = 28
          Width = 47
          Height = 22
          GroupIndex = 3
          Caption = 'Linear'
          OnClick = SpeedButtonResampleNearestClick
        end
        object SpeedButtonResampleCubic: TSpeedButton
          Tag = 2
          Left = 120
          Top = 28
          Width = 47
          Height = 22
          GroupIndex = 3
          Caption = 'Cubic'
          OnClick = SpeedButtonResampleNearestClick
        end
        object SpeedButtonResampleSine: TSpeedButton
          Tag = 3
          Left = 168
          Top = 28
          Width = 47
          Height = 22
          GroupIndex = 3
          Caption = 'Sine'
          OnClick = SpeedButtonResampleNearestClick
        end
        object SpeedButtonResampleBand: TSpeedButton
          Tag = 4
          Left = 216
          Top = 28
          Width = 48
          Height = 22
          GroupIndex = 3
          Caption = 'Band'
          OnClick = SpeedButtonResampleNearestClick
        end
      end
      object GroupBoxSampleMisc: TGroupBox
        Left = 295
        Top = 179
        Width = 356
        Height = 65
        Caption = 'Volume and EQ'
        TabOrder = 6
        object LabelVolume: TLabel
          Left = 143
          Top = 29
          Width = 18
          Height = 16
          Caption = 'Vol'
        end
        object SpeedButtonEQReset: TSpeedButton
          Left = 12
          Top = 28
          Width = 23
          Height = 22
          Hint = 'Reset EQ'
          Caption = 'Z'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonEQResetClick
        end
        object TrackBarVolume: TTrackBar
          Left = 192
          Top = 26
          Width = 152
          Height = 25
          Hint = 'Change volume of the source wave'
          Max = 255
          ParentShowHint = False
          Frequency = 32
          Position = 128
          ShowHint = True
          TabOrder = 0
          OnChange = TrackBarVolumeChange
        end
        object StaticTextEQLow: TStaticText
          Left = 36
          Top = 28
          Width = 32
          Height = 22
          Hint = 'Drag with left mouse button to change EQ settings'
          Alignment = taCenter
          AutoSize = False
          BevelInner = bvLowered
          BevelKind = bkSoft
          Caption = 'StaticTextEQLow'
          DragCursor = crSizeNS
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          OnMouseDown = StaticTextEQLowMouseDown
          OnMouseMove = StaticTextEQLowMouseMove
        end
        object StaticTextEQMid: TStaticText
          Left = 70
          Top = 28
          Width = 32
          Height = 22
          Hint = 'Drag with left mouse button to change EQ settings'
          Alignment = taCenter
          AutoSize = False
          BevelInner = bvLowered
          BevelKind = bkSoft
          Caption = 'StaticTextEQLow'
          DragCursor = crSizeNS
          ParentShowHint = False
          ShowHint = True
          TabOrder = 2
          OnMouseDown = StaticTextEQLowMouseDown
          OnMouseMove = StaticTextEQLowMouseMove
        end
        object StaticTextEQHigh: TStaticText
          Left = 104
          Top = 28
          Width = 32
          Height = 22
          Hint = 'Drag with left mouse button to change EQ settings'
          Alignment = taCenter
          AutoSize = False
          BevelInner = bvLowered
          BevelKind = bkSoft
          Caption = 'StaticTextEQLow'
          DragCursor = crSizeNS
          ParentShowHint = False
          ShowHint = True
          TabOrder = 3
          OnMouseDown = StaticTextEQLowMouseDown
          OnMouseMove = StaticTextEQLowMouseMove
        end
      end
      object GroupBoxSampleLoop: TGroupBox
        Left = 8
        Top = 250
        Width = 500
        Height = 65
        Caption = 'Loop options'
        TabOrder = 7
        object SpeedButtonLoop: TSpeedButton
          Left = 15
          Top = 26
          Width = 29
          Height = 24
          Hint = 'Enable loop'
          AllowAllUp = True
          GroupIndex = 1
          Caption = 'On'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonLoopClick
        end
        object LabelLoopStart: TLabel
          Left = 139
          Top = 29
          Width = 35
          Height = 16
          Caption = 'From:'
        end
        object SpeedButtonLoopToBegin: TSpeedButton
          Left = 250
          Top = 26
          Width = 32
          Height = 24
          Caption = 'Min'
          OnClick = SpeedButtonLoopToBeginClick
        end
        object LabelLoopEnd: TLabel
          Left = 285
          Top = 29
          Width = 20
          Height = 16
          Caption = 'To:'
        end
        object SpeedButtonLoopToEnd: TSpeedButton
          Left = 379
          Top = 26
          Width = 32
          Height = 24
          Caption = 'Max'
          OnClick = SpeedButtonLoopToEndClick
        end
        object SpeedButtonLoopWav: TSpeedButton
          Left = 418
          Top = 26
          Width = 70
          Height = 24
          Hint = 'Take the loop points from WAV file'
          Caption = 'From WAV'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonLoopWavClick
        end
        object SpeedButtonLoopRamp: TSpeedButton
          Left = 46
          Top = 26
          Width = 42
          Height = 24
          Hint = 'Smooth out the loop transition'
          AllowAllUp = True
          GroupIndex = 5
          Caption = 'Ramp'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonLoopRampClick
        end
        object SpeedButtonLoopStartInc: TSpeedButton
          Left = 227
          Top = 26
          Width = 23
          Height = 12
          Caption = '+'
          OnMouseDown = SpeedButtonLoopStartIncMouseDown
        end
        object SpeedButtonLoopStartDec: TSpeedButton
          Left = 227
          Top = 38
          Width = 23
          Height = 12
          Caption = '-'
          OnMouseDown = SpeedButtonLoopStartDecMouseDown
        end
        object SpeedButtonLoopEndInc: TSpeedButton
          Left = 356
          Top = 26
          Width = 23
          Height = 12
          Caption = '+'
          OnMouseDown = SpeedButtonLoopEndIncMouseDown
        end
        object SpeedButtonLoopEndDec: TSpeedButton
          Left = 356
          Top = 38
          Width = 23
          Height = 12
          Caption = '-'
          OnMouseDown = SpeedButtonLoopEndDecMouseDown
        end
        object SpeedButtonLoopUnroll: TSpeedButton
          Left = 90
          Top = 26
          Width = 42
          Height = 24
          Hint = 
            'Unroll loop to closest 16x rather than resample. Best quality, b' +
            'ut takes more memory'
          AllowAllUp = True
          GroupIndex = 6
          Caption = 'Unroll'
          ParentShowHint = False
          ShowHint = True
          OnClick = SpeedButtonLoopUnrollClick
        end
        object EditLoopStart: TEdit
          Left = 178
          Top = 26
          Width = 49
          Height = 24
          TabOrder = 0
          Text = '0'
          OnChange = EditLoopStartChange
          OnKeyPress = EditLengthKeyPress
        end
        object EditLoopEnd: TEdit
          Left = 307
          Top = 26
          Width = 49
          Height = 24
          TabOrder = 1
          Text = '0'
          OnChange = EditLoopEndChange
          OnKeyPress = EditLengthKeyPress
        end
      end
      object GroupBoxWaveEnvPreview: TGroupBox
        Left = 8
        Top = 321
        Width = 643
        Height = 216
        Caption = 'Waveform and envelope preview'
        TabOrder = 8
        object PaintBoxADSR: TPaintBox
          Left = 9
          Top = 20
          Width = 622
          Height = 181
          OnPaint = PaintBoxADSRPaint
        end
      end
    end
    object TabSheetInfo: TTabSheet
      Caption = 'Info [F4]'
      ImageIndex = 2
      OnShow = TabSheetInfoShow
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object GroupBoxMemoryUse: TGroupBox
        Left = 3
        Top = 3
        Width = 910
        Height = 249
        Caption = 'SPC700 memory use'
        TabOrder = 0
        object PaintBoxMemoryUse: TPaintBox
          Left = 16
          Top = 29
          Width = 873
          Height = 201
          OnPaint = PaintBoxMemoryUsePaint
        end
      end
      object GroupBoxAbout: TGroupBox
        Left = 3
        Top = 258
        Width = 382
        Height = 167
        Caption = 'About'
        TabOrder = 1
        object Label4: TLabel
          Left = 16
          Top = 25
          Width = 216
          Height = 16
          Caption = 'Copyright '#169' Bubble Zap, LLC 2014-15'
        end
        object Label1: TLabel
          Left = 16
          Top = 47
          Width = 225
          Height = 16
          Caption = 'Editor and SPC700 driver code by Shiru'
        end
        object Label2: TLabel
          Left = 16
          Top = 69
          Width = 328
          Height = 16
          Caption = 'Uses SPC-related parts from Game_Music_Emu by Blargg'
        end
        object Label3: TLabel
          Left = 16
          Top = 91
          Width = 260
          Height = 16
          Caption = 'Uses BRR encoder from BRRtools by Bregalad'
        end
        object Label7: TLabel
          Left = 16
          Top = 113
          Width = 175
          Height = 16
          Caption = 'Uses 3 Band EQ code by Neil C'
        end
        object Label8: TLabel
          Left = 16
          Top = 134
          Width = 259
          Height = 16
          Caption = 'Uses 5KTuner algorithm by John Montgomery'
        end
      end
    end
  end
  object MainMenu: TMainMenu
    Left = 400
    Top = 392
    object MFile: TMenuItem
      Caption = '&File'
      object MNew: TMenuItem
        Caption = '&New'
        OnClick = MNewClick
      end
      object N10: TMenuItem
        Caption = '-'
      end
      object MOpen: TMenuItem
        Caption = '&Open'
        OnClick = MOpenClick
      end
      object MSave: TMenuItem
        Caption = '&Save'
        OnClick = MSaveClick
      end
      object N1: TMenuItem
        Caption = '-'
      end
      object MExportAndSave: TMenuItem
        Caption = 'Ex&port and Save'
        OnClick = MExportAndSaveClick
      end
      object MExport: TMenuItem
        Caption = '&Export'
        OnClick = MExportClick
      end
      object N3: TMenuItem
        Caption = '-'
      end
      object MExit: TMenuItem
        Caption = 'E&xit'
        OnClick = MExitClick
      end
    end
    object MSong: TMenuItem
      Caption = '&Song'
      object MSongClear: TMenuItem
        Caption = '&Clear'
        OnClick = MSongClearClick
      end
      object N7: TMenuItem
        Caption = '-'
      end
      object MSongCleanUp: TMenuItem
        Caption = 'Clean up song text'
        OnClick = MSongCleanUpClick
      end
      object MTransposeDialog: TMenuItem
        Caption = 'Advanced transpose'
        OnClick = MTransposeDialogClick
      end
      object MSongScaleVolume: TMenuItem
        Caption = 'Scale volume'
        OnClick = MSongScaleVolumeClick
      end
      object N4: TMenuItem
        Caption = '-'
      end
      object MImportXM: TMenuItem
        Caption = 'Import notes from XM'
        object MImportXMSong: TMenuItem
          Caption = 'One song for all patterns'
          OnClick = MImportXMSongClick
        end
        object MImportXMSoundEffects: TMenuItem
          Caption = 'Each pattern as a separate song'
          OnClick = MImportXMSoundEffectsClick
        end
      end
      object MImportMidi: TMenuItem
        Caption = 'Import notes from MIDI'
        OnClick = MImportMidiClick
      end
      object MImportFamiTracker: TMenuItem
        Caption = 'Import FamiTracker text'
        OnClick = MImportFamiTrackerClick
      end
      object N5: TMenuItem
        Caption = '-'
      end
      object MExportSPC: TMenuItem
        Caption = '&Export SPC'
        OnClick = MExportSPCClick
      end
    end
    object MInstruments: TMenuItem
      Caption = '&Instruments'
      object MImportSPCBank: TMenuItem
        Caption = 'Import SPCBank'
        OnClick = MImportSPCBankClick
      end
      object MCleanupInstruments: TMenuItem
        Caption = 'Cleanup &instruments'
        OnClick = MCleanupInstrumentsClick
      end
      object MExtractSourceWave: TMenuItem
        Caption = '&Extract source wave'
        OnClick = MExtractSourceWaveClick
      end
      object N6: TMenuItem
        Caption = '-'
      end
      object MInstrumentReplace: TMenuItem
        Caption = 'Replace instrument number'
        OnClick = MInstrumentReplaceClick
      end
    end
    object N2: TMenuItem
      Caption = '|'
      Enabled = False
    end
    object MSongPlayStart: TMenuItem
      Caption = 'Play start [F5]'
      OnClick = MSongPlayStartClick
    end
    object MSongPlayCur: TMenuItem
      Caption = 'Play cur [F7]'
      OnClick = MSongPlayCurClick
    end
    object MSongStop: TMenuItem
      Caption = 'Stop [F8]'
      OnClick = MSongStopClick
    end
    object N8: TMenuItem
      Caption = '|'
    end
    object MOctave: TMenuItem
      Caption = 'Octave'
      object MOctave1: TMenuItem
        Tag = 1
        Caption = '1'
        OnClick = MOctave1Click
      end
      object MOctave2: TMenuItem
        Tag = 2
        Caption = '2'
        OnClick = MOctave1Click
      end
      object MOctave3: TMenuItem
        Tag = 3
        Caption = '3'
        OnClick = MOctave1Click
      end
      object MOctave4: TMenuItem
        Tag = 4
        Caption = '4'
        OnClick = MOctave1Click
      end
      object MOctave5: TMenuItem
        Tag = 5
        Caption = '5'
        OnClick = MOctave1Click
      end
      object MOctave6: TMenuItem
        Tag = 6
        Caption = '6'
        OnClick = MOctave1Click
      end
      object MOctave7: TMenuItem
        Tag = 7
        Caption = '7'
        OnClick = MOctave1Click
      end
      object MOctave8: TMenuItem
        Tag = 8
        Caption = '8'
        OnClick = MOctave1Click
      end
    end
    object MAutostep: TMenuItem
      Caption = 'Autostep'
      OnClick = MAutostepClick
    end
    object N9: TMenuItem
      Caption = '|'
    end
    object MOutputMonitor: TMenuItem
      Caption = 'Output monitor'
      OnClick = MOutputMonitorClick
    end
  end
  object OpenDialogModule: TOpenDialog
    DefaultExt = 'gsm'
    FileName = 'untitled'
    Filter = 'SNES GSS editable module (*.gsm)|*.gsm|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Open module'
    Left = 400
    Top = 424
  end
  object SaveDialogModule: TSaveDialog
    DefaultExt = 'gsm'
    FileName = 'untitled'
    Filter = 'SNES GSS editable module (*.gsm)|*.gsm|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
    Title = 'Save module'
    Left = 464
    Top = 456
  end
  object OpenDialogWave: TOpenDialog
    DefaultExt = 'wav'
    Filter = 'Standart wave files (*.wav)|*.wav|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Load wave'
    Left = 432
    Top = 424
  end
  object OpenDialogInstrument: TOpenDialog
    DefaultExt = 'gsi'
    FileName = 'untitled'
    Filter = 'SNES GSS instrument (*.gsi)|*.gsi|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofAllowMultiSelect, ofEnableSizing]
    Title = 'Open instrument'
    Left = 464
    Top = 424
  end
  object SaveDialogInstrument: TSaveDialog
    DefaultExt = 'gsi'
    FileName = 'untitled'
    Filter = 'SNES GSS instrument (*.gsi)|*.gsi|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
    Title = 'Save instrument'
    Left = 400
    Top = 456
  end
  object SaveDialogExportSPC: TSaveDialog
    DefaultExt = 'spc'
    FileName = 'untitled'
    Filter = 'SNES Sound Snapshot (*.spc)|*.spc|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
    Title = 'Export SPC file'
    Left = 432
    Top = 456
  end
  object OpenDialogImportXM: TOpenDialog
    DefaultExt = 'xm'
    Filter = 'XM music module (*.xm)|*.xm|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Import XM module'
    Left = 496
    Top = 424
  end
  object OpenDialogImportSPCBank: TOpenDialog
    DefaultExt = 'bnk'
    Filter = 'Editable bank (*.bnk)|*.bnk|All files (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Import SPCTool bank'
    Left = 528
    Top = 424
  end
  object TimerScrollDelay: TTimer
    Enabled = False
    Interval = 25
    OnTimer = TimerScrollDelayTimer
    Left = 400
    Top = 488
  end
  object SaveDialogExportWav: TSaveDialog
    DefaultExt = 'wav'
    FileName = 'untitled'
    Filter = 'Standart wave files (*.wav)|*.wav|Any file (*.*)|*.*'
    InitialDir = '.'
    Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
    Title = 'Export wave'
    Left = 496
    Top = 456
  end
  object OpenDialogImportMidi: TOpenDialog
    DefaultExt = 'mid'
    Filter = 'MIDI files (*.mid)|*.mid|All files (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Import MIDI file'
    Left = 560
    Top = 424
  end
  object OpenDialogImportFTM: TOpenDialog
    DefaultExt = 'txt'
    Filter = 'Text files (*.txt)|*.txt|All files (*.*)|*.*'
    InitialDir = '.'
    Options = [ofEnableSizing]
    Title = 'Import FamiTracker text'
    Left = 592
    Top = 424
  end
  object TimerOutputMonitor: TTimer
    Interval = 25
    OnTimer = TimerOutputMonitorTimer
    Left = 432
    Top = 488
  end
end
